package cn.chenhuanming.shh.administer.entity.jpa.projection;

import cn.chenhuanming.shh.administer.entity.jpa.Estate;
import cn.chenhuanming.shh.administer.entity.jpa.EstateBroker;
import cn.chenhuanming.shh.administer.entity.jpa.UserBroker;
import org.springframework.data.rest.core.config.Projection;

/**
 * Created by chenhuanming on 2017-08-28.
 *
 * @author chenhuanming
 */
@Projection(name = "allInfo",types = {EstateBroker.class})
public interface EstateBrokerAllInfo {

    public Estate getEstate();

    public UserBroker getUserBroker();
}
